package com.yunfei.bo;


import com.yunfei.entity.TSpciProdEntity;

/**
 *@tablename T_SPCI_PROD
 *@author zhengyunfei
 *@createDate Thu Jan 10 15:42:48 CST 2019
 */


public class TSpciProdBo implements java.io.Serializable{
 private String prodId;
 private String spciTye;
 private String etlDt;
 private String purLett;
 private String addPurLett;
 private String field;
 private String order;
/**
     * 更改排序字段
     * @return
     */
public String getField() {
        return field;
}
public void setField(String field) {
        this.field = field;
}
public String getOrder() {
        return order;
}
public void setOrder(String order) {
        this.order = order;
}
 private int curNo;
 public int getCurNo() {
     int value=(curNo-1)*curSize;
     return value;
 }
 public void setCurNo(int curNo) {
     this.curNo = curNo;
 }
 private int curSize;
 public int getCurSize() {
     return curSize;
 }
 public void setCurSize(int curSize) {
     this.curSize = curSize;
 }
 public void setProdId(String prodId){
     this.prodId=prodId;
 }
 public String getProdId(){
     return prodId;
 }
 public void setSpciTye(String spciTye){
     this.spciTye=spciTye;
 }
 public String getSpciTye(){
     return spciTye;
 }
 public void setEtlDt(String etlDt){
     this.etlDt=etlDt;
 }
 public String getEtlDt(){
     return etlDt;
 }
 public void setPurLett(String purLett){
     this.purLett=purLett;
 }
 public String getPurLett(){
     return purLett;
 }
 public void setAddPurLett(String addPurLett){
     this.addPurLett=addPurLett;
 }
 public String getAddPurLett(){
     return addPurLett;
 }
 public static TSpciProdEntity boToEntity(TSpciProdBo bo){
     TSpciProdEntity entity=new TSpciProdEntity();
     entity.setProdId(bo.getProdId());
     entity.setSpciTye(bo.getSpciTye());
     entity.setEtlDt(bo.getEtlDt());
     entity.setPurLett(bo.getPurLett());
     entity.setAddPurLett(bo.getAddPurLett());
     return entity;
 }
 public static TSpciProdBo entityToBo(TSpciProdEntity bo){
     TSpciProdBo entity=new TSpciProdBo();
     entity.setProdId(bo.getProdId());
     entity.setSpciTye(bo.getSpciTye());
     entity.setEtlDt(bo.getEtlDt());
     entity.setPurLett(bo.getPurLett());
     entity.setAddPurLett(bo.getAddPurLett());
     return entity;
 }

}

